package com.lswms.modules.lswms.service.receipt;

import java.util.Map;

import com.lswms.common.page.PageData;
import com.lswms.common.service.CrudService;
import com.lswms.modules.lswms.dto.receipt.ReceiptdetailDTO;
import com.lswms.modules.lswms.entity.receipt.ReceiptdetailEntity;

/**
 * 收货明细
 *
 * @author DX sunlightcs@gmail.com
 * @since 1.0.0 2021-06-13
 */
public interface ReceiptdetailService extends CrudService<ReceiptdetailEntity, ReceiptdetailDTO> {

        Integer getReceiptdetailCount(String receiptkey);

        Integer getReceiptdetailLine(String receiptkey);

		PageData<ReceiptdetailEntity> pageBySql(Map<String, Object> params);

		ReceiptdetailEntity getBySql(Long id);

		String validAndSave(ReceiptdetailDTO dto);

		String validSave(ReceiptdetailDTO dto);

	

}
